package com.tensquare.qa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Macross
 * @Type Pl.java
 * @Desc 问答标签中间表信息实体类
 * @date 2019/12/17 16:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "tb_pl")
@ApiModel(description = "问答标签中间表信息")
public class Pl implements Serializable {
    @Id
    @Column(name = "problemid")
    @ApiModelProperty(value = "问题id")
    private String problemId;
    @Id
    @Column(name = "labelid")
    @ApiModelProperty(value = "标签id")
    private String labelId;
}
